#ifndef SERVER_H
#define SERVER_H

#include <QTcpServer>
#include <QTcpSocket>

class Server : public QObject
{
    QTcpSocket *tcpsocket;
    QTcpServer *tcpserver;
public:
    Server();
    ~Server();
    void tcpstart();
public slots:
    void onConnection();
};

#endif // SERVER_H
